package com.hotel.homehotel.before.service;

import com.hotel.homehotel.before.entiy.Notice;
import com.hotel.homehotel.utils.R;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface NoticeService {


    public List<Notice> getRim();//查询轮播图
    public List<Notice> getAllNews();//查询新闻
    public Notice getNoticeById(String id);
    public boolean insert(Notice notice);
    public boolean delete(String id);
    public boolean update(Notice notice);


}
